<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../public/public.jsp"%>
<html>
	<head>
		<title>修改部门信息</title>
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
        <script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/validate.js"></script>
		<script type="text/javascript" src="<%=path%>/js/usermanage/dept.js"></script>
	</head>
	<body style="margin: 0" bgcolor="#FFFFEE">
	<iframe  id='target_upload' name='target_upload' src='' style='display: none'></iframe>
		<form id="deptForm" action="dept.action" method="post" target="target_upload">
		<input type="hidden" name="cmd" value="update">
			<table width="100%" border="0" align="center" cellspacing="1" bgcolor="#000000">
				<tr>
					<td align="center" valign="middle" bgcolor="#FFF7E5" width="100%"
						height="25" colspan="2">
						<img src="<%=path%>/img/user_add.gif" border="0">
						<font color="#FF6600" size=2>&nbsp;修改部门信息</font>
					</td>
				</tr>
				<tr>
					<td bgcolor="#80BFFF" width="30%">
						<input type="hidden" name="po.id" value='<s:property value="po.id" />'>
						<input type="hidden" name="po.parentId" value='<s:property value="po.parentId" />'>
						<input type="hidden" name="po.deptLevel" value='<s:property value="po.deptLevel" />'>
					</td>
					<td bgcolor="#80BFFF" width="70%"></td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;部门名称:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.deptName" name="po.deptName" value='<s:property value="po.deptName" />' size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;部门中文名称:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.deptCname" name="po.deptCname" value='<s:property value="po.deptCname" />' size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;电话:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.telephone" name="po.telephone" value='<s:property value="po.telephone" />' size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;Email:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.email" name="po.email" value='<s:property value="po.email" />' size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;地址:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.addr" name="po.addr" value='<s:property value="po.addr" />' size="30">
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;状态:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input type="radio" name="po.sts" value="ACTV" <s:if test="po.sts=='ACTV'">checked="checked"</s:if> ><font color="#10659E" size="2">可用</font>
						<input type="radio" name="po.sts" value="WAST" <s:if test="po.sts=='WAST'">checked="checked"</s:if>><font color="#10659E" size="2">禁用</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;组织类型:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input type="radio" name="po.deptType" value="1" <s:if test="po.deptType==1">checked="checked"</s:if> ><font color="#10659E" size="2">组织</font>
						<input type="radio" name="po.deptType" value="0" <s:if test="po.deptType==0">checked="checked"</s:if>><font color="#10659E" size="2">部门</font>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle" bgcolor="#DBEAF5" height="25">
						<font color="#10659E" size="2">&nbsp;&nbsp;备注:&nbsp;&nbsp;</font>
					</td>
					<td align="left" valign="middle" bgcolor="#FFF7E5" height="25">
						<input class="Button_Style" type="text" id="po.remark"
							name="po.remark" value='<s:property value="po.remark" />'
							size="30">
					</td>
				</tr>
				<tr>
					<td align="center" bgcolor="#DBEAF5" width="100%" height="25"
						colspan="2">
						<input type="button" value="修改" onclick="updateDept()">
						&nbsp;&nbsp;
						<input type="reset" value="重置">
						&nbsp;&nbsp;
						<input type="button" value="取消" onclick="window.close()">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>